package com.gopay.common.cps.service.cbrmb;

import java.util.List;

import com.gopay.common.constants.cbrmb.AllocationOptType;
import com.gopay.common.domain.cbrmb.CbRmbAllocationOrderLogs;
import com.gopay.common.exception.GopayException;

public interface CbRmbAllocationOrderLogsService {
    Long save(CbRmbAllocationOrderLogs log) throws GopayException;
    void update(CbRmbAllocationOrderLogs log) throws GopayException;
    List<CbRmbAllocationOrderLogs> findByGopayOrderIdAndCreateTime(String gopayOrderId, String startTime, String endTime) throws GopayException;
    List<CbRmbAllocationOrderLogs> findByGopayOrderIdAndOptTypeWithCreateTime(String gopayOrderId, AllocationOptType optType, String startTime, String endTime) throws GopayException;
}
